package com.edgar.paysdk

import android.content.Context

/**
 * Created by edgar on 18-1-20.
 */
internal class PayInitialize private constructor(){

    companion object {
        private @JvmStatic lateinit var sWeChatAppId:String
        private @JvmStatic lateinit var appContext : Context

        internal fun initialize(context: Context){
            appContext = context.applicationContext
        }

        fun setWeChatAppId(weChatAppId: String) {
            sWeChatAppId = weChatAppId
        }

        @JvmStatic fun getWeChatAppId(): String = sWeChatAppId
        @JvmStatic fun getContext():Context = appContext
    }
}